Page({
  data:{
    announcementList :[]
  },
  async onLoad(){
    const res = await wx.http({
      url:'/announcement'
    })
    this.setData({announcementList:res.data})
    // console.log(res.data);
  }
})
